﻿using System;

namespace Rocuna.Log
{
    /// <summary>
    /// Event args for the message logged event
    /// </summary>
    public class MessageLoggedEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the Message.
        /// </summary>
        /// <value>
        /// The Message.
        /// </value>
        public string Msg { get; set; }

        /// <summary>
        /// Gets or sets the level.
        /// </summary>
        /// <value>
        /// The level.
        /// </value>
        public LogLevel Level { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [mask debug].
        /// </summary>
        /// <value>
        ///   <c>true</c> if [mask debug]; otherwise, <c>false</c>.
        /// </value>
        public bool MaskDebug { get; set; }

        /// <summary>
        /// Gets or sets the name of the logger.
        /// </summary>
        /// <value>
        /// The name of the logger.
        /// </value>
        public string LoggerName { get; set; }
    }
}